package com.it;

public class IfDemo {
    public static void main(String[] args) {
        for (int i = 0; i < 5; i++) {
            System.out.println("行动是成功的阶梯");
        }

        for (int i = 1; i <= 9; i++) {
            if (i % 2 == 1) {
                System.out.println(i + "*9=" + i * 9);
            }
        }

        for (int i = 1; i <= 9; i++) {
            System.out.println(i + "*9=" + i * 9);
        }
        
        for (int i = 9; i >= 1; i--) {
            System.out.println(i + "*9=" + i * 9);
        }
    }
}
